package com.jingdianjichi.auth.application.convert;

import com.jingdianjichi.auth.entity.AuthUserDTO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserDTOConvert {
    AuthUserDTOConvert INSTANCE = Mappers.getMapper(AuthUserDTOConvert.class);

    AuthUserBO convertDTOTOBO(AuthUserDTO authUserDTO);

    //    SubjectInfoDTO  convertBoToInfoDTO(SubjectInfoBO subjectInfoBO);
    AuthUserDTO convertBOTODTO(AuthUserBO authUserBO);

    List<AuthUserDTO> convertBOToDTO(List<AuthUserBO> authUserBOS);


//    List<SubjectInfoDTO> convertBoToInfoDtoList(List<SubjectInfoBO> subjectInfoBOList);

}
